home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 76 / XENIATGM66.iso / Indiana Jones / Indiana Jones.exe / RESOURCE / PREVIEW.GOB / cog_sea_exteriorambient.cog < prev    next >
Text File  |  1999-11-15  |  851b  |  39 lines

  1. # Jones 3D Cog Script
  2. #
  3. # olv_exteriorambient.cog
  4. #
  5. # Plays random sounds at random locations
  6. #
  7. # [DS]
  8. #
  9. # (C) 1999 LucasArts Entertainment Co. All Rights Reserved
  10. # ========================================================================================
  11.  
  12. symbols
  13.     message    startup
  14.  
  15.     thing        soundPos0        nolink
  16.     thing        soundPos1        nolink
  17.     thing        soundPos2        nolink
  18.     thing        soundPos3        nolink
  19.  
  20.     sound        wav0=sea_deck_a.wav        local
  21.     thing        player                local
  22.  
  23. end
  24.  
  25. code
  26.  
  27. # ........................................................................................
  28.  
  29. startup:
  30.     player=GetLocalPlayerThing();
  31.     sleep(1.0);
  32.     PlaySoundThing(wav0, soundPos0, 0.6, 1, 10, 1);
  33.     PlaySoundThing(wav0, soundPos1, 0.6, 1, 10, 1);
  34.     PlaySoundThing(wav0, soundPos2, 0.6, 1, 10, 1);
  35.     PlaySoundThing(wav0, soundPos3, 0.6, 1, 10, 1);
  36.  
  37.     return;
  38.  
  39. end